<?php
namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;

class FilterRequestParams
{
    public function handle(Request $request, Closure $next)
    {
        if ($request->has('s')) {
            $request->request->remove('s');
        }

        return $next($request);
    }
}
